package com.example.forum.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author why
 * @since 2020-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dbo.T_THEME")
public class TTheme implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type = IdType.UUID)
    private String id;

    @TableField(value = "ISDELETED",fill = FieldFill.INSERT)
    private Boolean isdeleted;

    @TableField(value = "CREATIONTIME", fill = FieldFill.INSERT)
    private Date creationtime;

    @TableField("LASTMODIFICATIONTIME")
    private Date lastmodificationtime;

    @TableField("DELETIONTIME")
    private Date deletiontime;

    @TableField("CREATORUSERID")
    private String creatoruserid;

    @TableField("CREATORNAME")
    private String creatorname;

    @TableField("UPDATEUSERID")
    private String updateuserid;

    @TableField("DELETERUSERID")
    private String deleteruserid;

    @TableField("REMARK")
    private String remark;

    @TableField("TITLE")
    private String title;

    @TableField("ORIGINALURL")
    private String originalurl;

    @TableField("BLOCKAREAID")
    private String blockareaid;

    @TableField("STATUS")
    private Integer status;

    @TableField("ISRECOMMEND")
    private Boolean isrecommend;

    @TableField("RECOMMENDERID")
    private String recommenderid;

    @TableField("AUDITERID")
    private String auditerid;

    @TableField("AUDITER")
    private String auditer;

    @TableField("AUDITREASON")
    private String auditreason;

    @TableField("AUDITDATE")
    private Date auditdate;

    @TableField("DELETETYPE")
    private Integer deletetype;

    @TableField(exist = false)
    private String content;

    @TableField(exist = false)
    private Integer clickZanNum;

    @TableField(exist = false)
    private Integer replyNum;

    @TableField(exist = false)
    private boolean isClickZan;
}
